package swu.edu.cn.javaee.entity;


import org.apache.ibatis.type.Alias;

@Alias("photo")
public class Photo {
    private String paId;
    private String paCid;
    private String paName;
    private String pName;
    private String photo;
    private String pExplain;
    private String pPublic;


    public Photo(){
        this.paId="";
        this.photo="";
        this.pExplain="";
        this.pName="";
        this.pPublic="";
        this.paCid="";
        this.paName="";
    }
    @Override
    public String toString() {
        return "Photo{" +
                "paId='" + paId + '\'' +
                ", paCid='" + paCid + '\'' +
                ", paName='" + paName + '\'' +
                ", pName='" + pName + '\'' +
                ", photo='" + photo + '\'' +
                ", pExplain='" + pExplain + '\'' +
                ", pPublic='" + pPublic + '\'' +
                '}';
    }

    public String getPaId() {
        return paId;
    }

    public void setPaId(String paId) {
        this.paId = paId;
    }

    public String getPaCid() {
        return paCid;
    }

    public void setPaCid(String paCid) {
        this.paCid = paCid;
    }

    public String getPaName() {
        return paName;
    }

    public void setPaName(String paName) {
        this.paName = paName;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getpExplain() {
        return pExplain;
    }

    public void setpExplain(String pExplain) {
        this.pExplain = pExplain;
    }

    public String getpPublic() {
        return pPublic;
    }

    public void setpPublic(String pPublic) {
        this.pPublic = pPublic;
    }
}
